import {MC_MANAGE_AXIOS} from "./axios.js";
import {PROJECT_INFO} from "../const/index.js";
// POST - 登录系统

export const UPLOAD_AVATAR_URL = PROJECT_INFO.serverHost + '/api/v1/emp/uploadAvatar';
export function loginByAccountApi(param) {
    return MC_MANAGE_AXIOS.post(`emp/loginByAccount`, param)
}

export function updatePasswordApi(params)  {
    return MC_MANAGE_AXIOS.put(`emp/updatePassword`, params)
}